﻿Imports DAO
Imports DTO
Public Class NgonNguBUS
    Public Shared Function DanhSach_ngonngu_DAO() As List(Of NgonNguDTO)
        Return NgonNguDAO.DanhSach_ngonngu_DAO("Select * From NgonNgu")
    End Function

    Public Shared Function Them_Loai_BUS(ByVal ngonngu As NgonNguDTO) As String
        Return NgonNguDAO.Them_Loai_DAO(ngonngu)
    End Function
    Public Shared Function Sua_Loai_BUS(ByVal ngonngu As NgonNguDTO, ByVal MaCu As String) As String
        Return NgonNguDAO.Sua_Loai_DAO(ngonngu, MaCu)
    End Function
    Public Shared Function Xoa_Loai_BUS(ByVal ngonngu As NgonNguDTO) As String
        Return NgonNguDAO.Xoa_Loai_DAO(ngonngu)
    End Function
End Class
